package com.linsir.lin.dto;

import org.camunda.bpm.engine.identity.User;

/**
 * @author ：linsir
 * @date ：Created in 2021/6/29 10:31
 * @description：自定义流程用户，实现自定义用户
 * @modified By：
 * @version: 1.0.0
 */
public class UserEntityDTO implements User {

    //UserEntity password对应设置属性方法为setDbPassword，非setPassword。 setPassword表示修改密码的新密码属性方法入口。

    //表的id
    private Integer tableIdentity;

    private String id;

    private String firstName;

    private String lastName;

    private String email;

    private String password;


    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id=id;
    }

    @Override
    public String getFirstName() {
        return firstName;
    }

    @Override
    public void setFirstName(String firstName) {
            this.firstName=firstName;
    }

    @Override
    public void setLastName(String lastName) {
        this.lastName=lastName;
    }

    @Override
    public String getLastName() {
        return lastName;
    }

    @Override
    public void setEmail(String email) {
        this.email=email;
    }

    @Override
    public String getEmail() {
        return email;
    }

    @Override
    public String getPassword() {
        return password;
    }

    @Override
    public void setPassword(String password) {
            this.password=password;
    }
}
